@extends('layouts.web')

@section('title', env('APP_NAME').'资讯--不一样的资讯网站 - '.env('APP_NAME').' - 我们只推荐好文章')
@section('keywords', env('APP_NAME').'资讯,我们只推荐好文章,不一样的网站')
@section('description',  env('APP_NAME').'资讯是一个不一样的资讯网站，每天更新最新站长运营、SEO技术、奇趣科技的文章,是一个值得收藏的网站,我们只推荐好文章。')

@section('content')
    <div class="main-container">
        <div class="layui-row layui-col-space10">
            <div class="layui-col-md2">
                <div class="layui-card">
                    <div class="layui-card-header font-c-b">资讯分类</div>
                    <div class="layui-card-body site-list-body">
                        <ul class="news-nav-list one-list">
                            @if(isset($column))
                                @foreach($column as $v)
                                <li>
                                    <a href="{{ url('/article/'.$v->id) }}/" title="{{ $v->title }}">
                                        {{ $v->title }}
                                    </a>
                                </li>
                                @endforeach
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-card">
                    <div class="layui-card-header">文章资讯</div>
                    <div class="layui-card-body site-list-body article-list-new">
                        @if(isset($articles))
                            <ul>
                                @foreach($articles as $v)
                                    <li>
                                        <a href="{{ url('/artinfo-'.$v->id.'.html') }}" title="{{ $v->title }}">
                                            {{ $v->title }}
                                        </a>
                                        <span>{{ $v->updated_at->format('m-d') }}</span>
                                    </li>
                                @endforeach
                            </ul>
                        @endif
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                @include('layouts.right')
            </div>
        </div>
    </div>
@endsection
